﻿Imports PTIC_GestionBDD
Imports System.Data
Imports System.Data.OleDb

Public Class frmVisuTable
    Public Sub New(ByVal trait As PTIC_GestionBDD.Traitement)

        ' Cet appel est requis par le Concepteur Windows Form.
        InitializeComponent()

        Dim table As DataTable=trait.execute_DataTableToDgv(True, DataGridView1)

        Dim dv As DataView
        dv = table.DefaultView
        DataGridView1.DataSource = dv
        dv.AllowEdit = False

    End Sub
End Class